# config:utf-8

from handle.main_handle import MainHandle
from base.basic import Basic
class MainBusiness:
    def __init__(self, i):
        self.main_handle = MainHandle(i)
        basic = Basic(i)
        self.imgs = basic.imgs
        self.add_imgs = basic.add_imgs()
    def to_local_device(self):
        self.main_handle.to_local_device()
        self.add_imgs()

    def to_cloud_device(self):
        self.main_handle.to_cloud_device()
        self.add_imgs()

    def to_haiwell(self):
        self.main_handle.to_haiwll()
        self.add_imgs()

    def to_message(self):
        self.main_handle.to_message()
        self.add_imgs()

    def to_my(self):
        self.main_handle.to_my()
        self.add_imgs()

